<?php
return array(
    // 数据库配置信息
    'DB_TYPE' => 'mysql',     // 数据库类型
    'DB_HOST' => '127.0.0.1',
//		'DB_HOST' => '121.43.105.152', // 服务器地址
    'DB_NAME' => 'mywifi',    // 数据库名
    'DB_USER' => 'root',     // 用户名
    'DB_PWD'  => 'root',  // 密码
    'DB_PORT' => 3306,       // 端口
    'DB_PREFIX'  => 'wifi_',  // 数据库表前缀
    'DB_CHARSET' => 'utf8',  // 字符集

    'LOG_RECORD' => true,   // 开启日志记录
    'LOG_TYPE'   => 'File', // 日志记录类型 默认为文件方式
    'LOG_LEVEL'  => 'EMERG,ALERT,CRIT,ERR,WARN,DEBUG,SQL',
    'LOG_FILE_SIZE'         =>  20971520,  // 日志文件大小限制
    'LOG_EXCEPTION_RECORD'  =>  false,     // 是否记录异常信息日志

    'BASE_URL'  => '/index.php/Home',
    'API_PAGE_SIZE' => 10,
    'DATETIME_LEN'  => 14,
    'SESSION_AUTO_START' => true,
    'SHOW_PAGE_TRACE'    => false, // 开启页面TRACE

    'LUCI_STATUS_URL' =>'/cgi-bin/luci/admin/status/',
    'LUCI_WIFISCAN_URL' =>'/cgi-bin/luci/admin/wifiscan/',
    'LUCI_ADMIN_URL' =>'/cgi-bin/luci/admin/',
    'SCANWIFISTAIP'=>'',

    'EMAIL_PATH'=>'/root/eml/',



    'DB_CONFIGSQLITE' => array(
        'DB_TYPE'    => 'sqlite',
        'DB_NAME'    => 'MACInfo.db',//'DB_NAME'    => '/scancard/MACInfo.db',
        'db_charset'=>    'utf8',
        'DB_PREFIX'  => '',
    ),
    'TWOSCANCARD'=>'false',

    'DB_CONFIGSQLITE_2' => array(
        'DB_TYPE'    => 'sqlite',
        'DB_NAME'    => '/crackpath/MACInfo.db',//'DB_NAME'    => '/scancard/MACInfo.db',
        'db_charset'=>    'utf8',
        'DB_PREFIX'  => '',
    ),
);